package com.wing.bill.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.wing.mybatis.common.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

@Schema
@Data
@EqualsAndHashCode(callSuper=true)
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "warehouse_bill")
public class WarehouseBill extends BaseEntity<WarehouseBill> {
    @TableField(value = "customer_id")
    @Schema(description="客户编号用sel_customers_info表")
    private Long customerId;

    @TableField(value = "bill_status")
    @Schema(description="账单状态 0-未结算 1-已结算 2-取消")
    private Integer billStatus;

    @TableField(value = "bill_period")
    @Schema(description="账单周期 例如 2024-01、2024-02 ")
    private String billPeriod;

    @TableField(value = "bill_type")
    @Schema(description="账单类别 1、月结 2、手动")
    private String billType;

    @TableField(value = "bill_price")
    @Schema(description="结算金额")
    private Double billPrice;

    @TableField(value = "bill_pay_price")
    @Schema(description="实付金额，后台填写")
    private Double billPayPrice;

    @TableField(value = "bill_voucher_url")
    @Schema(description="付款凭证地址")
    private String billVoucherUrl;
}